package com.tjhk.java.tech.pass;

public class PassObject {
    static void f(Letter y){
        y.c = 'z';
    }

    public static void main(String[] args) {
        Letter x = new Letter();
        x.c = 'a';
        System.out.println(x.c);
        f(x);
        System.out.println(x.c);
        System.runFinalization();
    }

    @Override
    protected void finalize() throws Throwable {
        super.finalize();
    }
}
